package com.gym.core.common;

import org.apache.commons.lang.StringEscapeUtils;

/**
 * just copy
 * 
 * @author xinchun.wang
 * @email: 532002108@qq.com
 * @createTime 2015-9-1 下午3:05:52
 */
public class XssUtils {

	public String escapeHtml(String data) {
		return StringEscapeUtils.escapeHtml(data);
	}

	public String escapeJavaScript(String data) {
		return StringEscapeUtils.escapeJavaScript(data);
	}

	public String escapeSql(String data) {
		return StringEscapeUtils.escapeSql(data);
	}
}
